
# base image

FROM centos:6.8

MAINTAINER ystlong@163.com

RUN find /etc/yum.repos.d -type f -exec sed -i 's|mirrorlist|#mirrorlist|g' {} \;
RUN find /etc/yum.repos.d -type f -exec sed -i 's|mirror.centos.org|mirrors.ustc.edu.cn|g' {} \;
RUN find /etc/yum.repos.d -type f -exec sed -i 's|#baseurl|baseurl|g' {} \;

RUN yum groupinstall -y Desktop
RUN yum groupinstall -y fonts
RUN yum install -y net-tools
RUN yum install -y tigervnc-server

WORKDIR /root

